//
//  ReportViewModel.m
//  HonlivApp
//
//  Created by admin on 2017/7/19.
//  Copyright © 2017年 honliv. All rights reserved.
//

#import "ReportViewModel.h"

@implementation ReportViewModel

+(void)getLimitInfoSuccess:(void (^)(NSDictionary *))success{
    //获取权限编号，指标编号
    
    NSDictionary *dic = @{@"db":@"honlivapiframe",@"SqlNo":@"75",@"YGBH":[User currentUser].userId};
    NSString *url = [NSString stringWithFormat:@"%@%@",HOSPITAL_URL,COMMON_URL];
    [NetWorker getCommonDatasWithURLStr:url body:dic success:^(id result) {
        NSArray *dicArr = [JsonHelper arrayWithJsonString:result[@"Entity"]];
        success(dicArr[0]);
    } failure:^(id result) {
        [SVProgressHUD showErrorWithStatus:@"未开通权限"];
    }];
    
}

@end
